﻿{template 'web/common/common'}
{template 'web/system/navbar'}
<div class="panel panel-success">
    <div class="panel-heading">
        <h3 class="panel-title">
            关于我们
        </h3>
    </div>

    <div class="panel-body">
        <form id="sign-form" class="form-horizontal" role="form" method="post" action="{url 'site/entry/system',array('m'=>'kundian_farm','op'=>'about_save','version_id'=>$_GPC['version_id'])}" name="submit" style="padding: 20px 0;">
            <div class="form-group">
                <label for="farm_name" class="col-sm-2 control-label">农场名称</label>
                <div class="col-sm-8">
                    <input type="text" class="form-control"  name="farm_name" id="farm_name" value="{$list['farm_name']}">

                </div>
            </div><div class="form-group">
                <label for="phone" class="col-sm-2 control-label">联系电话</label>
                <div class="col-sm-8">
                    <input type="number" class="form-control"  name="phone" id="phone" value="{$list['phone']}">
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">快递运费</label>
                <div class="col-sm-8">
                    <input type="number" class="form-control"  name="send_price" id="send_price" value="{$list['send_price']}">
                    <span style="color: gray;">此处运费是需要配送宰杀家畜后，或者摘取农产品后需要支付的运费，购买商品的运费请到商品中进行设置！</span>
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">加工费（X%）</label>
                <div class="col-sm-8">
                    <input type="number" class="form-control"  name="add_price" id="add_price" value="{$list['add_price']}">
                </div>
            </div>

            
            <div class="form-group">
                <label class="col-sm-2 control-label">签到页面顶部Banner(375*250)</label>
                <div class="col-sm-8">
                    {php echo tpl_form_field_image('sign_banner',$list['sign_banner']);}
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">农场简介</label>
                <div class="col-sm-8">
                    {php echo tpl_ueditor('farm_desc',$list['farm_desc']);}
                </div>
            </div>



            <div class="form-group">

                <div class="col-sm-offset-2 col-sm-10">
                    <input type="hidden" name="id" value="{$list['id']}">
                    <button type="submit" class="btn btn-success">保存</button>
                    <!--<input type="submit" name="submit" class="btn btn-default">-->
                    <!--<a class="btn btn-default" href="{url 'site/entry/system',array('m'=>'kundian_farm')}">返回</a>-->
                </div>
            </div>
        </form>
    </div>
</div>
